* files.el (file-expand-wildcards): In case of remote files, check
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Dec 2009 13:18:03 +0000 (13:18 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Dec 2009 13:18:03 +0000 (13:18 +0000)
commit7b164b35ac900410ad21ba52eed62d32490a5967
tree00391d8a7f2b981e7b8e94d7695819ac7ccdfdf2
parent9ffdc77c5c5dac72b052d18abe302654faecf3b5
* files.el (file-expand-wildcards): In case of remote files, check
only local file name part for wildcards.  Provide feature 'files
and subfeature 'remote-wildcards.  (Bug#5198)

* net/tramp.el (tramp-handle-file-remote-p): Expand file name only
if there is already an established connection.
(tramp-advice-file-expand-wildcards): Remove it.

* net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
(tramp-advice-file-expand-wildcards): Moved from tramp.el.
Activate advice for older GNU Emacs versions.  (Bug#5237)
lisp/ChangeLog
lisp/files.el
lisp/net/tramp-compat.el
lisp/net/tramp.el